<!DOCTYPE html>
<ruby>
    crbug.com/582697: Text should be on the <div id="pos"></div>same line.
</ruby>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
    document.body.offsetTop;
    var div = document.getElementById('pos');
    div.style.position = "absolute";
    document.body.offsetTop;
    div.parentNode.removeChild(div);
</script>

